services.znapzend.zetup.<name>.destinations.<name>.presend
Command to run before sending the snapshot to the destination.
Intended to run a remote script via ssh on the
destination, e.g. to bring up a backup disk or server or to put a
zpool online/offline. See also postsend.
- Type
null or string- Default
null- Example
"ssh root@bserv zpool import -Nf tank"- Declared
- <nixpkgs/nixos/modules/services/backup/znapzend.nix>